package com.sxt.sys.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2019-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_topic")
public class Topic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 帖子编号
     */
    @TableId(value = "topicid", type = IdType.AUTO)
    private Integer topicid;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 作者
     */
    private String author;

    /**
     * 发帖时间，默认系统时间
     */
    private Date createdate;

    /**
     * 点击量
     */
    private Integer clickamount;


}
